package com.zecan.springcloud.service;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.zecan.springcloud.entity.CommonResult;

/**
 * @ClassName CustomerBlockHandler
 * @Description TODO
 * @date 2022/5/12 17:53
 * @Version 1.0
 */

public class CustomerBlockHandler {


        public static CommonResult handlerException(BlockException exception) {
            return  new CommonResult(444,"按照客户自定义限流测试，Glogal handlerException ---- 1");
        }

        public static CommonResult handlerException2(BlockException exception) {
            return  new CommonResult(444,"按照客户自定义限流测试，Glogal handlerException ---- 2");
        }
    }


